package com.luck.easyfoodbatch.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import com.luck.easyfoodbatch.R;
import com.luck.easyfoodbatch.custom.SwipeLayout;
/**
 * author：luck
 * project：EasyFoodBatch
 * package：com.luck.easyfoodbatch.adapter
 * email：893855882@qq.com
 * data：16/9/29
 */
public class ReturnItemAdapter extends RecyclerView.Adapter<ReturnItemAdapter.ShopAdapterHolder> {
    private Context mContext;

    public ReturnItemAdapter(Context mContext) {
        super();
        this.mContext = mContext;
    }


    @Override
    public ReturnItemAdapter.ShopAdapterHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View rootView = LayoutInflater.from(parent.getContext()).inflate(R.layout.return_details_item, parent, false);
        return new ShopAdapterHolder(rootView);
    }


    @Override
    public void onBindViewHolder(final ReturnItemAdapter.ShopAdapterHolder holder, final int position) {

    }

    @Override
    public int getItemCount() {
        return 2;
    }

    public class ShopAdapterHolder extends RecyclerView.ViewHolder {

        public ShopAdapterHolder(View view) {
            super(view);
        }
    }

}
